<%@ taglib prefix="s" uri="/struts-tags" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/2/27
  Time: 14:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录成功</title>
</head>
<body>
    <%--<h1>${str}</h1>--%>
    <h1><s:actionmessage/></h1>
    <h1>用户名：${username}</h1>
    <h1>密码：${password}</h1>

    <h1>用户名：<s:property value="username"/></h1>
    <h1>密码：<s:property value="password"/></h1>
        <table  cellpadding="1">
            <tr>
                <th>ID</th>
                <th>用户名</th>
                <th>密码</th>
            </tr>
            <s:iterator value="#userList">
            <tr>
                <td><s:property value="id"/></td>
                <td><s:property value="username"/></td>
                <td><s:property value="password"/></td>
            </tr>
            </s:iterator>
        </table>

</body>
</html>
